import request from '@/utils/request'

// upload
export function upload(data) {
  return request({
    url: '/api/upload',
    method: 'post',
    data: data
  })
}

 //downloadFile
 export function downloadFile(file) {
    return request({
      url: '/api/downloadFile?fileName=' + file,
      method: 'get',
    })
  }

